package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;

public class RunfastShoppingtrolley implements Serializable {
    private Integer id;

    private String barcode;

    private Integer businessid;

    private String businessname;

    private Integer cid;

    private String cname;

    private Integer goodssellid;

    private String goodssellname;

    private Integer goodsselloptionid;

    private String goodsselloptionname;

    private Integer goodssellstandardid;

    private String goodssellstandardname;

    private Integer num;

    private Double price;

    private String openid;

    private Integer goodssellrecordid;

    private Integer snum;

    private BigDecimal packing;

    private Integer ptype;

    private BigDecimal disprice;

    private BigDecimal pricedis;

    private String optionids;

    private Integer islimited;

    private Integer limitnum;

    private Integer couponid;

    private BigDecimal full;

    private BigDecimal total;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastShoppingtrolley withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBarcode() {
        return barcode;
    }

    public RunfastShoppingtrolley withBarcode(String barcode) {
        this.setBarcode(barcode);
        return this;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode == null ? null : barcode.trim();
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public RunfastShoppingtrolley withBusinessid(Integer businessid) {
        this.setBusinessid(businessid);
        return this;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getBusinessname() {
        return businessname;
    }

    public RunfastShoppingtrolley withBusinessname(String businessname) {
        this.setBusinessname(businessname);
        return this;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public Integer getCid() {
        return cid;
    }

    public RunfastShoppingtrolley withCid(Integer cid) {
        this.setCid(cid);
        return this;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public RunfastShoppingtrolley withCname(String cname) {
        this.setCname(cname);
        return this;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public Integer getGoodssellid() {
        return goodssellid;
    }

    public RunfastShoppingtrolley withGoodssellid(Integer goodssellid) {
        this.setGoodssellid(goodssellid);
        return this;
    }

    public void setGoodssellid(Integer goodssellid) {
        this.goodssellid = goodssellid;
    }

    public String getGoodssellname() {
        return goodssellname;
    }

    public RunfastShoppingtrolley withGoodssellname(String goodssellname) {
        this.setGoodssellname(goodssellname);
        return this;
    }

    public void setGoodssellname(String goodssellname) {
        this.goodssellname = goodssellname == null ? null : goodssellname.trim();
    }

    public Integer getGoodsselloptionid() {
        return goodsselloptionid;
    }

    public RunfastShoppingtrolley withGoodsselloptionid(Integer goodsselloptionid) {
        this.setGoodsselloptionid(goodsselloptionid);
        return this;
    }

    public void setGoodsselloptionid(Integer goodsselloptionid) {
        this.goodsselloptionid = goodsselloptionid;
    }

    public String getGoodsselloptionname() {
        return goodsselloptionname;
    }

    public RunfastShoppingtrolley withGoodsselloptionname(String goodsselloptionname) {
        this.setGoodsselloptionname(goodsselloptionname);
        return this;
    }

    public void setGoodsselloptionname(String goodsselloptionname) {
        this.goodsselloptionname = goodsselloptionname == null ? null : goodsselloptionname.trim();
    }

    public Integer getGoodssellstandardid() {
        return goodssellstandardid;
    }

    public RunfastShoppingtrolley withGoodssellstandardid(Integer goodssellstandardid) {
        this.setGoodssellstandardid(goodssellstandardid);
        return this;
    }

    public void setGoodssellstandardid(Integer goodssellstandardid) {
        this.goodssellstandardid = goodssellstandardid;
    }

    public String getGoodssellstandardname() {
        return goodssellstandardname;
    }

    public RunfastShoppingtrolley withGoodssellstandardname(String goodssellstandardname) {
        this.setGoodssellstandardname(goodssellstandardname);
        return this;
    }

    public void setGoodssellstandardname(String goodssellstandardname) {
        this.goodssellstandardname = goodssellstandardname == null ? null : goodssellstandardname.trim();
    }

    public Integer getNum() {
        return num;
    }

    public RunfastShoppingtrolley withNum(Integer num) {
        this.setNum(num);
        return this;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getPrice() {
        return price;
    }

    public RunfastShoppingtrolley withPrice(Double price) {
        this.setPrice(price);
        return this;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getOpenid() {
        return openid;
    }

    public RunfastShoppingtrolley withOpenid(String openid) {
        this.setOpenid(openid);
        return this;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Integer getGoodssellrecordid() {
        return goodssellrecordid;
    }

    public RunfastShoppingtrolley withGoodssellrecordid(Integer goodssellrecordid) {
        this.setGoodssellrecordid(goodssellrecordid);
        return this;
    }

    public void setGoodssellrecordid(Integer goodssellrecordid) {
        this.goodssellrecordid = goodssellrecordid;
    }

    public Integer getSnum() {
        return snum;
    }

    public RunfastShoppingtrolley withSnum(Integer snum) {
        this.setSnum(snum);
        return this;
    }

    public void setSnum(Integer snum) {
        this.snum = snum;
    }

    public BigDecimal getPacking() {
        return packing;
    }

    public RunfastShoppingtrolley withPacking(BigDecimal packing) {
        this.setPacking(packing);
        return this;
    }

    public void setPacking(BigDecimal packing) {
        this.packing = packing;
    }

    public Integer getPtype() {
        return ptype;
    }

    public RunfastShoppingtrolley withPtype(Integer ptype) {
        this.setPtype(ptype);
        return this;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public BigDecimal getDisprice() {
        return disprice;
    }

    public RunfastShoppingtrolley withDisprice(BigDecimal disprice) {
        this.setDisprice(disprice);
        return this;
    }

    public void setDisprice(BigDecimal disprice) {
        this.disprice = disprice;
    }

    public BigDecimal getPricedis() {
        return pricedis;
    }

    public RunfastShoppingtrolley withPricedis(BigDecimal pricedis) {
        this.setPricedis(pricedis);
        return this;
    }

    public void setPricedis(BigDecimal pricedis) {
        this.pricedis = pricedis;
    }

    public String getOptionids() {
        return optionids;
    }

    public RunfastShoppingtrolley withOptionids(String optionids) {
        this.setOptionids(optionids);
        return this;
    }

    public void setOptionids(String optionids) {
        this.optionids = optionids == null ? null : optionids.trim();
    }

    public Integer getIslimited() {
        return islimited;
    }

    public RunfastShoppingtrolley withIslimited(Integer islimited) {
        this.setIslimited(islimited);
        return this;
    }

    public void setIslimited(Integer islimited) {
        this.islimited = islimited;
    }

    public Integer getLimitnum() {
        return limitnum;
    }

    public RunfastShoppingtrolley withLimitnum(Integer limitnum) {
        this.setLimitnum(limitnum);
        return this;
    }

    public void setLimitnum(Integer limitnum) {
        this.limitnum = limitnum;
    }

    public Integer getCouponid() {
        return couponid;
    }

    public RunfastShoppingtrolley withCouponid(Integer couponid) {
        this.setCouponid(couponid);
        return this;
    }

    public void setCouponid(Integer couponid) {
        this.couponid = couponid;
    }

    public BigDecimal getFull() {
        return full;
    }

    public RunfastShoppingtrolley withFull(BigDecimal full) {
        this.setFull(full);
        return this;
    }

    public void setFull(BigDecimal full) {
        this.full = full;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public RunfastShoppingtrolley withTotal(BigDecimal total) {
        this.setTotal(total);
        return this;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", barcode=").append(barcode);
        sb.append(", businessid=").append(businessid);
        sb.append(", businessname=").append(businessname);
        sb.append(", cid=").append(cid);
        sb.append(", cname=").append(cname);
        sb.append(", goodssellid=").append(goodssellid);
        sb.append(", goodssellname=").append(goodssellname);
        sb.append(", goodsselloptionid=").append(goodsselloptionid);
        sb.append(", goodsselloptionname=").append(goodsselloptionname);
        sb.append(", goodssellstandardid=").append(goodssellstandardid);
        sb.append(", goodssellstandardname=").append(goodssellstandardname);
        sb.append(", num=").append(num);
        sb.append(", price=").append(price);
        sb.append(", openid=").append(openid);
        sb.append(", goodssellrecordid=").append(goodssellrecordid);
        sb.append(", snum=").append(snum);
        sb.append(", packing=").append(packing);
        sb.append(", ptype=").append(ptype);
        sb.append(", disprice=").append(disprice);
        sb.append(", pricedis=").append(pricedis);
        sb.append(", optionids=").append(optionids);
        sb.append(", islimited=").append(islimited);
        sb.append(", limitnum=").append(limitnum);
        sb.append(", couponid=").append(couponid);
        sb.append(", full=").append(full);
        sb.append(", total=").append(total);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}